#!/usr/bin/env python
#####################################
# Installation module for rdpscan
#####################################

# AUTHOR OF MODULE NAME
AUTHOR="Jens Muecke (ryd)"

# DESCRIPTION OF THE MODULE
DESCRIPTION="This module will install/update rdpscan - a scanner for CVE-2019-0708 bluekeep vulnerability"

# INSTALL TYPE GIT, SVN, FILE DOWNLOAD
# OPTIONS = GIT, SVN, FILE
INSTALL_TYPE="git"

# LOCATION OF THE FILE OR GIT/SVN REPOSITORY
REPOSITORY_LOCATION="https://github.com/robertdavidgraham/rdpscan.git"

# WHERE DO YOU WANT TO INSTALL IT
INSTALL_LOCATION="rdpscan"

# DEPENDS FOR DEBIAN INSTALLS
DEBIAN="git,make,build-essential,libssl-dev"

# DEPENDS FOR FEDORA INSTALLS
FEDORA="git,make,gcc,openssl-devel"

# COMMANDS TO RUN AFTER
AFTER_COMMANDS="cd {INSTALL_LOCATION},make,ln -s {INSTALL_LOCATION}/rdpscan /usr/local/bin/rdpscan"

# LAUNCHER SHORTCUT
LAUNCHER="rdpscan"
